package com.mzp.UserCart.UserCart;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import util.IdWorker;

/**
 * @Description
 * @author admin
 * @date 2021-04-20 10:01:19
*/
@SpringBootApplication
public class UserCartApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserCartApplication.class, args);
	}

	@Bean
	public IdWorker idWorker(){
		return new IdWorker();
	}
	
}
